File Extensions View

Product Feedback
Feedback

Use the File Extensions view to create an association between your application and a specific file type. For example, all Windows operating systems will launch Notepad.exe when a text (.txt) file is opened. Right-click on the File Extensions shortcut to the left and select New Extension to create a file extension association.

Once you've created your new extension, rename it by selecting it, pressing F2, and typing in the new extension — txt, for example. Finally, edit your new extension's properties, such as its ProgID, the feature it should be associated with, and the icon you would like files of this type to display.


File Types

The File Types explorer registers the following information about a file type on the target system when the component is installed or advertised:

Register a File Type

You can associate file extensions, such as doc and txt, with the component's key file . Right-click on Extensions to specify a new file type. Enter your own extension without the dot (for example, enter txt instead of .txt) to replace the default name.

Associate a File Extension with a ProgID

By setting the ProgID property in the extension, you can name a progID—for example, txtfile—that will contain the file type registration. The ProgIDs item allows you to specify new progIDs while you're editing file extension properties.

Specify Verbs

You can register command verbs (such as Open and Print) that appear in the context menu for a file of the registered extension. To add a new verb and specify its properties, right-click on the extension and select New Verb.

Then, enter the name of your new verb. You can use any of the “canonical verbs,” such as open, print, find, and properties.

Register a MIME Type

You can register the multipurpose Internet mail extension (MIME) types, also known as media types or content types, for the component's key file. You can also associate a MIME type with a class ID.

Right-click on a file extension to create a new MIME type.